﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonTool
{
    public static class Constant
    {
        private static Func<string, string> GetConfig = key => ConfigurationManager.AppSettings[key];
        /// <summary>
        /// 默认数据库链接
        /// </summary>
        public static string DbConstr = GetConfig("DbConstr");
        /// <summary>
        /// 日志目录
        /// </summary>
        public static string LogDirPath = GetConfig("LogDirPath");
        /// <summary>
        /// Lucene索引目录
        /// </summary>
        public static string UserData = GetConfig("UserData");

    }
}
